import type { AppRouteRecordRaw } from '/@/router/routes/types';

const redirection: AppRouteRecordRaw = {
  path: '/',
  name: 'redirect',
  redirect: '/home',
  meta: {},
};

const HomeRoute: AppRouteRecordRaw = {
  path: '/home',
  name: 'home',
  component: () => import('/@/views/Home/index.vue'),
  meta: {
    title: '首页',
  },
};

export const basicRoutes = [redirection, HomeRoute];
